# -*- mode: snippet -*-
# name: try
# key: try
# --
try {
    $0
} catch (${1:Exception} ${2:e}) {
  System.out.println("Error " + $2.getMessage());
  $2.printStackTrace();
}